page {
    background-color: #fff;
    height: 100vh;
    overflow: hidden;
}

.flex_container {
    display: flex;
    flex-direction: column;
    height: 100vh;

    .select_c {
        flex: 1;
        display: flex;
        overflow: hidden;

        .content_scroll_view_c {
            flex: 1;
            overflow: hidden;
        }
    }
}

.custom_head_c {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: var(--themColor);

    .bar {
        position: absolute;

        .content {
            display: flex;
            align-items: center;

            .logo {
                flex-shrink: 0;
                width: 36px;
                height: 36px;
                border-radius: 18px;
                padding: 0 9px 0 10px;
            }

            .search_c {
                flex: 1;
                --cell-font-size: 14px;
                --cell-line-height: 24px;
            }

            .search {
                padding: 0 !important;

            }

            .van-search__content {
                background-color: #AACDC9 !important;
            }

            .search_leftIcon {
                margin-right: 5px;
                width: 15px;
                height: 15px;
            }

            .van-field__placeholder {
                color: var(--themColor) !important;
            }

            @media screen and (max-width: 320px) {

                .search_c {
                    --cell-font-size: 13px;
                    --cell-line-height: 22px;
                }

            }
        }
    }
}

.order_end_c {
    display: flex;
    align-items: center;
    padding: 15rpx 28rpx;
    background-color: var(--themColor);
    color: #fff;

    .count_down_c {
        flex: 1;
        display: flex;
        align-items: center;
        padding-right: 20rpx;

        .title {
            padding-right: 25rpx;
            font-weight: 500;
        }

        .count_down_item_c {
            display: flex;
            align-items: center;
        }

        .item {
            width: 48rpx;
            height: 46rpx;
            background-color: #fff;
            border-radius: 10rpx;
            color: var(--themColor);
            font-size: 28rpx;
            font-weight: bold;
        }

        .space {
            padding: 0 10rpx;
            color: #FFF;
            font-size: 28rpx;
            font-weight: bold;
        }
    }

    .next_c {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        font-size: 20rpx;

        .special {
            font-size: 22rpx;
        }
    }
}

.screen {
    display: flex;
    align-items: center;
    padding: 20rpx 28rpx;
    border-bottom: 2rpx solid rgb(223, 223, 223);

    .item {
        display: flex;
        align-items: center;
        margin-right: 40rpx;

        .sales_icon {
            margin-right: 10rpx;
            width: 30rpx;
            height: 30rpx;
        }

        .color_icon {
            margin-right: 10rpx;
            width: 36rpx;
            height: 36rpx;
        }
    }
}

.list_c {
    display: flex;
    flex-wrap: wrap;
    padding: 20rpx 0 20rpx 16rpx;
}

.list {
    box-sizing: border-box;
    width: 180rpx;
    margin-right: 14rpx;
    margin-bottom: 14rpx;
    border-radius: 10rpx;
    overflow: hidden;
    border: 2rpx solid var(--borderColor);

    &:nth-child(3n) {
        margin-right: 0;
    }

    .image_c {
        position: relative;
        width: 100%;
        height: 178rpx;

        .mark {
            position: absolute;
            right: 0;
            bottom: 0;
            z-index: 0;
            width: 0;
            height: 0;
            border-bottom: 66rpx solid rgba(0, 0, 0, 0.2);
            border-left: 66rpx solid transparent;
        }

        .collect_icon {
            position: absolute;
            right: 0;
            bottom: 0;
            width: 36rpx;
            height: 36rpx;
        }
    }

    .content {
        padding: 8rpx 10rpx 10rpx;

        .title {
            font-size: 24rpx;
            color: #515151;
        }

        .color {
            margin: 4rpx 0;
            color: #AAA;
            font-size: 22rpx;
        }
    }

    .price {
        display: flex;
        align-items: baseline;
        font-size: 20rpx;
        color: #DA5236;

        .icon {
            font-size: 16rpx;
        }
    }

}

/*颜色弹出层全部样式*/
.screen_popup {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 10;
    overflow: hidden;


    .panel {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        padding-bottom: 30rpx;
        height: 100%;
        // border-radius: 0 0 40rpx 40rpx;
        background-color: #fff;

        .scroll_view {
            flex: 1;
            padding-top: 10rpx;
            overflow: hidden;
        }

        .color_card {
            display: flex;
            flex-wrap: wrap;
        }

        .item {
            box-sizing: border-box;
            margin-bottom: 24rpx;
            margin-right: 20rpx;
            width: 218rpx;
            height: 72rpx;

            &:nth-child(3n) {
                margin-right: 0;
            }

            .label {
                padding-left: 10rpx;
                color: #868686;
            }

            .color {
                width: 32rpx;
                height: 32rpx;
            }
        }

        .active {
            border: 2rpx solid var(--secondThemeColor);
        }

        .button_c {
            display: flex;

            .reset {
                margin-top: 30rpx;
                margin-right: 28rpx;
                width: 200rpx;
                height: 80rpx;
                border-radius: 8rpx;
                font-size: 32rpx;
                color: #333 !important;
            }

            .confirm {
                margin-top: 30rpx;
                width: 466rpx;
                height: 80rpx;
                border-radius: 8rpx;
                font-size: 32rpx;
            }
        }
    }
}

.mask {
    position: absolute;
    left: 0;
    transition: opacity 0.3s;
    width: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.6);
}